package com.xq.controller;

import java.util.List;

public class Result {


    /**
     * code : 0
     * message : 成功
     * data : {"res_message":"成功","res_data":{"userdata":{"update_time":"2018-08-30 09:17:18","phone":"13438027602","user_source":"CHINAMOBILE_SICHUAN","reg_time":"2008-01-18","id_card":"432432434274565","real_name":"xx瑞","addr":"成都","phone_remain":"31.96"},"teldata":[{"receive_phone":"15928651377","trade_time":"24","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"成都"},{"receive_phone":"13882196499","trade_time":"36","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"2018-03-01 09:03:14"},{"receive_phone":"17139178380","trade_time":"11","call_time":"2018-03-01 12:01:22","trade_type":"1","trade_addr":"2018-03-01 12:01:22"}],"billdata":[{"month":"202006","call_pay":"54"},{"month":"201805","call_pay":"88"},{"month":"201804","call_pay":"78"}]},"res_code":"200"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * res_message : 成功
         * res_data : {"userdata":{"update_time":"2018-08-30 09:17:18","phone":"13438027602","user_source":"CHINAMOBILE_SICHUAN","reg_time":"2008-01-18","id_card":"432432434274565","real_name":"xx瑞","addr":"成都","phone_remain":"31.96"},"teldata":[{"receive_phone":"15928651377","trade_time":"24","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"成都"},{"receive_phone":"13882196499","trade_time":"36","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"2018-03-01 09:03:14"},{"receive_phone":"17139178380","trade_time":"11","call_time":"2018-03-01 12:01:22","trade_type":"1","trade_addr":"2018-03-01 12:01:22"}],"billdata":[{"month":"202006","call_pay":"54"},{"month":"201805","call_pay":"88"},{"month":"201804","call_pay":"78"}]}
         * res_code : 200
         */

        private String res_message;
        private ResDataBean res_data;
        private String res_code;

        public String getRes_message() {
            return res_message;
        }

        public void setRes_message(String res_message) {
            this.res_message = res_message;
        }

        public ResDataBean getRes_data() {
            return res_data;
        }

        public void setRes_data(ResDataBean res_data) {
            this.res_data = res_data;
        }

        public String getRes_code() {
            return res_code;
        }

        public void setRes_code(String res_code) {
            this.res_code = res_code;
        }

        public static class ResDataBean {
            /**
             * userdata : {"update_time":"2018-08-30 09:17:18","phone":"13438027602","user_source":"CHINAMOBILE_SICHUAN","reg_time":"2008-01-18","id_card":"432432434274565","real_name":"xx瑞","addr":"成都","phone_remain":"31.96"}
             * teldata : [{"receive_phone":"15928651377","trade_time":"24","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"成都"},{"receive_phone":"13882196499","trade_time":"36","call_time":"2018-03-01 09:03:14","trade_type":"1","trade_addr":"2018-03-01 09:03:14"},{"receive_phone":"17139178380","trade_time":"11","call_time":"2018-03-01 12:01:22","trade_type":"1","trade_addr":"2018-03-01 12:01:22"}]
             * billdata : [{"month":"202006","call_pay":"54"},{"month":"201805","call_pay":"88"},{"month":"201804","call_pay":"78"}]
             */

            private UserdataBean userdata;
            private List<TeldataBean> teldata;
            private List<BilldataBean> billdata;

            public UserdataBean getUserdata() {
                return userdata;
            }

            public void setUserdata(UserdataBean userdata) {
                this.userdata = userdata;
            }

            public List<TeldataBean> getTeldata() {
                return teldata;
            }

            public void setTeldata(List<TeldataBean> teldata) {
                this.teldata = teldata;
            }

            public List<BilldataBean> getBilldata() {
                return billdata;
            }

            public void setBilldata(List<BilldataBean> billdata) {
                this.billdata = billdata;
            }

            public static class UserdataBean {
                /**
                 * update_time : 2018-08-30 09:17:18
                 * phone : 13438027602
                 * user_source : CHINAMOBILE_SICHUAN
                 * reg_time : 2008-01-18
                 * id_card : 432432434274565
                 * real_name : xx瑞
                 * addr : 成都
                 * phone_remain : 31.96
                 */

                private String update_time;
                private String phone;
                private String user_source;
                private String reg_time;
                private String id_card;
                private String real_name;
                private String addr;
                private String phone_remain;

                public String getUpdate_time() {
                    return update_time;
                }

                public void setUpdate_time(String update_time) {
                    this.update_time = update_time;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public String getUser_source() {
                    return user_source;
                }

                public void setUser_source(String user_source) {
                    this.user_source = user_source;
                }

                public String getReg_time() {
                    return reg_time;
                }

                public void setReg_time(String reg_time) {
                    this.reg_time = reg_time;
                }

                public String getId_card() {
                    return id_card;
                }

                public void setId_card(String id_card) {
                    this.id_card = id_card;
                }

                public String getReal_name() {
                    return real_name;
                }

                public void setReal_name(String real_name) {
                    this.real_name = real_name;
                }

                public String getAddr() {
                    return addr;
                }

                public void setAddr(String addr) {
                    this.addr = addr;
                }

                public String getPhone_remain() {
                    return phone_remain;
                }

                public void setPhone_remain(String phone_remain) {
                    this.phone_remain = phone_remain;
                }
            }

            public static class TeldataBean {
                /**
                 * receive_phone : 15928651377
                 * trade_time : 24
                 * call_time : 2018-03-01 09:03:14
                 * trade_type : 1
                 * trade_addr : 成都
                 */

                private String receive_phone;
                private String trade_time;
                private String call_time;
                private String trade_type;
                private String trade_addr;

                public String getReceive_phone() {
                    return receive_phone;
                }

                public void setReceive_phone(String receive_phone) {
                    this.receive_phone = receive_phone;
                }

                public String getTrade_time() {
                    return trade_time;
                }

                public void setTrade_time(String trade_time) {
                    this.trade_time = trade_time;
                }

                public String getCall_time() {
                    return call_time;
                }

                public void setCall_time(String call_time) {
                    this.call_time = call_time;
                }

                public String getTrade_type() {
                    return trade_type;
                }

                public void setTrade_type(String trade_type) {
                    this.trade_type = trade_type;
                }

                public String getTrade_addr() {
                    return trade_addr;
                }

                public void setTrade_addr(String trade_addr) {
                    this.trade_addr = trade_addr;
                }
            }

            public static class BilldataBean {
                /**
                 * month : 202006
                 * call_pay : 54
                 */

                private String month;
                private String call_pay;

                public String getMonth() {
                    return month;
                }

                public void setMonth(String month) {
                    this.month = month;
                }

                public String getCall_pay() {
                    return call_pay;
                }

                public void setCall_pay(String call_pay) {
                    this.call_pay = call_pay;
                }
            }
        }
    }
}
